﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="account.aspx.cs" Inherits="WebSite.cn.account" %>
<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="category.ascx" TagName="category" TagPrefix="uc2" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc3" %>

<%@ Register src="../Controls/AddressArea.ascx" tagname="AddressArea" tagprefix="uc6" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title><%=WebSite.info.info1("", "shoptitle")%></title>
    <meta name="Description" content="<%=WebSite.info.info1("","shopcontent")%>" /> 
    <meta name="Keywords" content="<%=WebSite.info.info1("","shopkey")%>" />
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" src="../../js/function.js"></script>
    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
    <script language="javascript" type="text/javascript">


     function checkDateTime(from ,to) { 
if(from==""||to=="")return 2; 
var rValue = 0 ; 
for(var i=0 ;i<16 ;i++) { 
   if(from.charAt(i) < to.charAt(i)) { 
    rValue = 1 ; break ; } 
   else if(from.charAt(i) > to.charAt(i)) { rValue = -1 ; break ; } } return rValue ; 
} 



    function CheckFrm(ParamType){

        var div=document.getElementById("shipid");
        var tCname = document.getElementById("cname");
        var tAddress = document.getElementById("address");
        var tCname1 = document.getElementById("cname1");
        var tPost1 = document.getElementById("post1");
        var tPost = document.getElementById("post");
        var tAddress1 = document.getElementById("address1");
        var tTel = document.getElementById("tel");
        var tTel1 = document.getElementById("tel1");
        var tPhone = document.getElementById("phone");
        var tPhone1 = document.getElementById("phone1");
        var tEmail = document.getElementById("email");
        var tEmail1 = document.getElementById("email1");
        var tremark = document.getElementById("remark");
        var tremark1 = document.getElementById("remark1");
        var obj = document.getElementById('senddate');
        var oProvence = document.getElementById("AddressArea1_ddlProvence");
         var oArea = document.getElementById("AddressArea1_ddlArea");


      if(ParamType == 1)
       {

           if('<%= base.UserMemberId == null%>' == 'True')
           {
             alert('请先登录，如您没有账号请先注册后兑换！');

             document.getElementById("divLogin").style.display = "block";
             document.getElementById("usernamea").focus();
             document.getElementById("reCname").value = document.getElementById("cname").value;
             if(document.getElementById("tel").value != "")
              {
                document.getElementById("reTel").value = document.getElementById("tel").value;
             }else
             {
                  document.getElementById("reTel").value = document.getElementById("phone").value;
             }
                document.getElementById("reEmail").value = document.getElementById("email").value;         
                    return false;
           }
       }


         <% if (isHaveProfession =="0" &&  isHaveCard =="0" && isHaveShop == "0"){ %>

              alert("您还没有选取要兑换或者订购礼品！");
                 return false;

         <%} %>

         <% if (isHaveProfession =="1" &&  isHaveCard =="1"){ %>

//              alert("兑换礼品与卡礼品不能同时提交！请删除不同类礼品！");
//                 return false;

         <%} %>



         <% if (isHaveProfession =="1" &&  UserCardCodeList == null){ %>

              alert("您没有输入礼品卡，不能兑换！");
              window.open("ProfessionArea.aspx?sid=2","_self");
                 return false;

         <%} %>

          <% if (isHaveProfession =="1" &&  UserCardCodeList !=null){ %>
	      if( parseFloat('<%=totalprice %>') > parseFloat('<%=UserCardTotalPrice %>'))
        {
           alert("卡内金额不足!");
           return false;
        }else if(parseInt('<%=UserCardTotalPrice %>') != parseInt('<%=totalprice %>'))
        {
          alert("卡内金额与兑换礼品价格不符！请重新选择礼品！");
          return false;
        }else
        {
      if( parseInt('<%=totalprice %>') < 100)
        {
          if( confirm("您需多付10元送货费，确认要兑换吗？"))
          {
          return true;
          }else
          {
          return false;
          }
        }
          
        }
	     <%} %>   


       if(tCname.value == "")
        {
        alert("姓名不能为空");
        tCname.focus();
        return false;
        }
        if ((tTel.value=="")&&(tPhone.value=="")){
	        alert("电话和手机致少填一项!");
	        return false;
	      }
       if(oProvence.value == "选择省")
        {
         alert("请选择省");
        oProvence.focus();
        return false;
        }
        if(oArea.value == "选择地区") {
         alert("请选择地区");
         oArea.focus();
         return false;
        }
       if(tAddress.value == "")
        {
        alert("地址不能为空");
        tAddress.focus();
        return false;
        }

        if(obj.value == "")
        {
           alert("送货日期不能为空");
            obj.focus();
            return false;
        }
	  
	    if(div.style.display=="")
	    {
	      if(tCname1.value == "")
            {
            alert("姓名不能为空");
            tCname1.focus();
            return false;
            }else   if ((tTel1.vl="")&&(tpPhone1.value=="")){
	         alert("电话和手机致少填一项!");
	         return false;
	         }

             else if(tAddress1.value == "")
            {
            alert("地址不能为空");
            tAddress1.focus();
            return false;
            }
	    }

        var dtArr = obj.value.split("-");
           var toDay = new Date();

        var dt1 = dtArr[0] + "-" + dtArr[1] + "-" + dtArr[2];
        var dt2 = "<%= ServerSendDate %>";


        var dtTmp1 = new Date(dt1.replace(/-/g,"/"));
        var dtTmp2 = new Date(dt2.replace(/-/g,"/"));
        if(dtTmp1 < dtTmp2) {
             alert('送货日期必须在三天之后！');      
             obj.value="";
             obj.focus();
             return false;
       }       

          if( parseInt('<%=totalprice %>') < 100)  {
          if( confirm("您需多付10元送货费，确认要兑换吗？"))
          {
          return true;
          }else
          {
          return false;
          }
        }

      return confirm("您确认要兑换吗？");
   
    }

    function setMourseOut()
    {
       var objDate = document.getElementById('senddate');
        var objToDate = document.getElementById('txtToDate');
       var dtArr = objDate.value.split("-");
       var dt1 = dtArr[0] + "-" + dtArr[1] + "-" + dtArr[2];     
       var dtSendDate = DateAdd('d',2, new Date(dt1.replace(/-/g,"/")));
     //  alert( dtSendDate.getUTCFullYear()+ "-" + (parseInt(dtSendDate.getMonth()) + 1) + "-" +  (parseInt(dtSendDate.getDate()) + 3));
       objToDate.value =   dtSendDate.getUTCFullYear()+ "-" + (parseInt(dtSendDate.getMonth()) + 1) + "-" +  (parseInt(dtSendDate.getDate()));

    }

    function DateAdd(interval,number,date){ 
    switch(interval.toLowerCase()){ 
        case "y": return new Date(date.setFullYear(date.getFullYear()+number)); 
        case "m": return new Date(date.setMonth(date.getMonth()+number)); 
        case "d": return new Date(date.setDate(date.getDate()+number)); 
        case "w": return new Date(date.setDate(date.getDate()+7*number)); 
        case "h": return new Date(date.setHours(date.getHours()+number)); 
        case "n": return new Date(date.setMinutes(date.getMinutes()+number)); 
        case "s": return new Date(date.setSeconds(date.getSeconds()+number)); 
        case "l": return new Date(date.setMilliseconds(date.getMilliseconds()+number)); 
        } 
    } 

    function checkcopy()
    {
        var div=document.getElementById("shipid");
        var tCname = document.getElementById("cname");
        var tAddress = document.getElementById("address");
          var tCname1 = document.getElementById("cname1");
        var tPost1 = document.getElementById("post1");
         var tPost = document.getElementById("post");
        var tAddress1 = document.getElementById("address1");
         var tTel = document.getElementById("tel");
         var tTel1 = document.getElementById("tel1");
        var tPhone = document.getElementById("phone");
        var tPhone1 = document.getElementById("phone1");
         var tEmail = document.getElementById("email");
        var tEmail1 = document.getElementById("email1");

          var tremark = document.getElementById("remark");
        var tremark1 = document.getElementById("remark1");
      tCname1.value=tCname.value;
      tTel1.value=tTel.value;
      tPhone1.value=tPhone.value;
      tPost1.value=tPost.value;
      tAddress1.value= document.getElementById("AddressArea1_ddlProvence").value + ","  + document.getElementById("AddressArea1_ddlArea").value + "," + tAddress.value;
      tEmail1.value=tEmail.value;
      tremark1.value = tremark.value;
      //frm.remark1.value=frm.remark.value;
    }
    function chk1Clicked()
    {
    var chk=document.getElementById("chk1");
    var div=document.getElementById("shipid");
    if(chk.checked){div.style.display="none";}
    else div.style.display="";
    }


    function setPayMoney()
    {
     document.getElementById("spanmoney").innerHTML = "0";
       

         if(isNaN( document.getElementById("amountmoney").value))
         {
            alert("输入账户金额格式不正确，只能为数字！请重新输入");
            document.getElementById("amountmoney").value = "0";
            document.getElementById("amountmoney").focus();
            return;
         }
          var accountmoney = parseInt('<%=accountmoney %>') -  document.getElementById("amountmoney").value;
          var paymoney = parseInt('<%=totalprice %>') + 10 - document.getElementById("amountmoney").value;

          if(accountmoney < 0)
          {
              alert("输入账户金额大于您的账户余额！请重新输入");
            document.getElementById("amountmoney").value = "0";
            document.getElementById("amountmoney").focus();
            return;
          }

          if(paymoney<0)
          {
            alert("输入账户金额大于您实际礼品总价！请重新输入");
            document.getElementById("amountmoney").value = "0";
            document.getElementById("amountmoney").focus();
            return;
          }else if(paymoney == 0)
          {
            document.getElementById("payway").style.display = "none";
             document.getElementById("cardpaymoney").value = document.getElementById("amountmoney").value;
          }
          else if(paymoney >0)
          {
           document.getElementById("payway").style.display = "inline";
           
            document.getElementById("cardpaymoney").value = document.getElementById("amountmoney").value;
           }

            document.getElementById("paymoney").value=paymoney.toString();
           document.getElementById("spanmoney").innerHTML= paymoney.toString();
    }

       function logincheck() {
            if (document.getElementById("luser").value == "") {
                alert('请输入用户名!');
                document.getElementById("luser").focus();
                return false;
            }
            if (document.getElementById("lpas").value == "") {
                alert('请输入密码!');
                document.getElementById("lpas").focus();
                return false;
            }
        }

         function registerCheck()
        {
           if (document.getElementById("usernamea").value == "") {
                alert('请输入登录用户名!');
                document.getElementById("usernamea").focus();
                return false;
            }
            if (document.getElementById("usernamea").value.length <6) {
                alert('登录用户名太短!');
                document.getElementById("usernamea").focus();
                return false;
            }
            if (document.getElementById("pas").value == "") {
                alert('请输入密码!');
                document.getElementById("pas").focus();
                return false;
            }
            if (document.getElementById("pas").value.length <6) {
                alert('密码太短!');
                document.getElementById("pas").focus();
                return false;
            }
            if (document.getElementById("pas1").value == "") {
                alert('请输入确认密码!');
                document.getElementById("pas1").focus();
                return false;
            }
              if(document.getElementById("pas").value != document.getElementById("pas1").value)
            {
              alert('两次密码不一致!');
                document.getElementById("pas1").focus();
                return false;
            }
            if (document.getElementById("reEmail").value == "") {
                alert('请输入E-Mail地址!');
                document.getElementById("reEmail").focus();
                return false;
            }
              var myReg = /^[-_A-Za-z0-9]+@([_A-Za-z0-9]+\.)+[A-Za-z0-9]{2,3}$/; 
              if(!myReg.test(document.getElementById("reEmail").value))
              {
                alert('请输入有效的E_mail！');
                 document.getElementById("reEmail").focus();
                return false;
              }
            if (document.getElementById("reCname").value == "") {
                alert('请输入收件人姓名!');
                document.getElementById("reCname").focus();
                return false;
            }
             if (document.getElementById("reTel").value == "") {
                alert('请输入联系电话!');
                document.getElementById("reTel").focus();
                return false;
            }
              
        }
    
    </script>
</head>
<body>
    <center>
      
	<uc1:head ID="head_1" runat="server" />
<div id="container">
   

   <div id="con">
   
    
	  <div class="title">
			<p>购物信息</p>
             <div style="width:100%"  align="left" >  <img src="images/span_solid.png" width="999px" alt="" /></div>
	  </div>
       
	  <div class="pro02"><br />
	    <br />

		<div>
	     <table width="100%" border="0" cellspacing="0" class="article_content">
	      <tr bgcolor="#EEEEEE">
	        <td width="90" height="28" align="center"><strong>礼品图</strong></td>
	        <td align="left"><strong>礼品名</strong></td>
	        <td width="90" align="center"><strong>单价</strong></td>
	        <td width="90" align="center"><strong>数量</strong></td>
	        <td width="90" align="center"><strong>共计</strong></td>
	        </tr>
	        <%=carinfo.ToString() %>
	      
	      <tr>
	        <td height="1" colspan="6" align="center" background="images/pro/line_vbg1.gif"><img src="images/pro/space.gif" width="1" height="1" /></td>
	        </tr>
	      </table>
           
	     <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td bgcolor="#fff5e8">&nbsp;<a href="<%=BackHref %>" ><img src="images/continueExchange.gif" alt="继续购物" width="135" height="22" border="0" /></a></td>
            <td height="30" bgcolor="#fff5e8">总计：<span class="text_red"><%=totalprice %></span><span class="a_title_green"> 元 </span></td>
          </tr>
		  <tr>
            <td width="77%" height="1" bgcolor="#ff980d"></td>
            <td width="23%" bgcolor="#ff980d"></td>
          </tr>
        </table>

		</div>

      
		<div id="divLogin" style="display:none; position:absolute; margin-left:0px; width:999px; margin-top:0px;">
	       <table width="100%"   style="height:320px;" cellpadding="0"  cellspacing=2 cellpadding=5 border=0 bgcolor="#FFFFFF" >
		     <tr>
		       <td height="25" align="left" bgcolor="#EEEEEE" class="white_bold" width="40%"> 　<strong>【已注册用户】</strong></td>
		       <td align="left" bgcolor="#EEEEEE" class="white_bold" width="60%">
	             <strong>【未注册用户】</strong></td>
	        </tr>    
            <tr>
            
            <td>
              <form name="lofrm"  action="userlogin.aspx?action=login" method="post">
         <table width="100%" height="200px"  border="0" cellspacing="0" cellpadding="0" style="background-color:#FFFFFF;">
              <tr>
                <td width="35%"  align="right" >用户名：</td>
                <td width="65%" align="left" >　
                  <input name="luser" id="luser" type="text" size="20" />
                  </td>
              </tr>
              <tr>
                <td  align="right" >密　码：</td>
                <td align="left"  >　
                  <input name="lpas" type="password" id="lpas"  size="20" />
                    </td>
              </tr>

              <tr>
                <td height="28" colspan="2" align="center"  >
                  <input name="button" type="submit" class="button" onclick="return logincheck()"  value="登 录" />    
                  <a href="forget.aspx" >忘记密码？</a>
                
                 </td>
              </tr>
              <tr>
                <td height="50" colspan="2" align="center"  >
                    &nbsp;</td>
              </tr>
                
                </table>
                </form>
            </td>

            <td>
                     <form name="lofrm"  action="register.aspx?action=add" method="post">
		  <table width="100%" height="200px"  border="0" cellspacing="0" cellpadding="5" style="background-color:#FFF;">  
            <tr>
              <td width="25%" align="right">登录用户名：</td>
              <td width="75%" align="left"><input name="usernamea" id="usernamea"  type="text"  />*登录用户名由6-20个字母、数字和下划线组成
                </td>
            </tr>
            <tr><td></td><td></td></tr>
            <tr>
              <td align="right">密码：</td>
              <td align="left"><input name="pas" id="pas"  type="password"  />*密码由6-20位的字母、数字、下划线和点“.”组成
                </td>
            </tr>
            <tr><td></td><td></td></tr>
            <tr>
              <td  align="right">确认密码：</td>
              <td  align="left"><input name="pas1" id="pas1" type="password" />*
                </td>
            </tr>
            <tr>
              <td align="right">E-Mail地址：</td>
              <td align="left"><input name="reEmail" id="reEmail"  type="text" />*
                </td>
            </tr>
              <tr>
                  <td align="right" >真实姓名：</td>
                  <td align="left"><input name="reCname" id="reCname" type="text" />*
                  </td>
              </tr>

            <tr>
              <td align="right">联系电话：</td>
              <td align="left"><input name="reTel" id="reTel"  type="text" />*
             
              </td>
            </tr>
            <tr>
              <td height="35" colspan="2" align="center">
                <input name="button" type="submit" class="button" onclick="return registerCheck()"  value="确定注册" />    
              </td>
            </tr>
         
          </table>
            </form>
            
            </td>    
            </tr>
	      </table>
		
		<br />
		</div>

		  <form id="frm" action="PayMoney.aspx" method="post">
		<input name="totalprice" type="hidden" value="<%=totalprice %>" />
		<input name="totalscore" type="hidden" value="<%=totalscore %>" />
		<div>
	       <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CECECE">
		     <tr>
		       <td height="25" bgcolor="#EEEEEE" class="white_bold">　<strong>下单人信息</strong></td>
		       <td align="left" bgcolor="#EEEEEE" class="white_bold"><input type="checkbox" name="chk1" id="chk1" onclick="chk1Clicked()" value="1" checked="checked" />
	             <label for="chk1"><strong>收件人信息与下单人信息相同</strong></label></td>
	        </tr>
		     <tr>
		       <td width="130" height="25" align="right" bgcolor="#FFFBF4">姓 名：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	           <input name="cname" id="cname" value="<%=cname %>" class="box" size="20" maxlength="100" type="text" />*<input name="carid" type="hidden" value="<%=carid %>" /></td>
	        </tr>
		     <tr>
		       <td height="25" align="right" bgcolor="#FFFBF4">联系电话：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	           <input name="tel" id="tel" value="<%=tel %>" class="box" size="20" maxlength="20" type="text" />
                   电话和手机致少填一项</td>
	        </tr>
		     <tr>
		       <td height="25" align="right" bgcolor="#FFFBF4">手 机：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	           <input name="phone" id="phone" value="<%=phone %>" class="box" size="20" maxlength="20" type="text" /></td>
	        </tr>
		     <tr style="display:none">
		       <td height="25" align="right" bgcolor="#FFFBF4">邮 编：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	           <input name="post" id="post" value="<%=post %>" class="box" size="20" maxlength="20" type="text" />*</td>
	        </tr>
		     <tr>
		       <td height="25" align="right" bgcolor="#FFFBF4">地 址：</td>
		       <td align="left" bgcolor="#FFFFFF">　        

	           <uc6:AddressArea ID="AddressArea1" name="AddressArea1"   runat="server" />

	           <input name="address" id="address" value="<%=address %>" class="box" size="50" maxlength="255" type="text" />*政府机关部队办公区域不配送</td>
	        </tr>
		     <tr>
		       <td height="25" align="right" bgcolor="#FFFBF4">&nbsp;</td>
		       <td align="left" bgcolor="#FFFFFF">
                   请确认您的地址顺丰是否可以送到,<a href="http://www.sf-express.com/cn/sc/delivery_step/enquiry/coverageArea.html" target="_blank">点击查看</a>
                   </td>
	        </tr>
		     <tr  style="display:none">
		       <td height="25" align="right" bgcolor="#FFFBF4">E-MAIL：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	           <input name="email" id="email" value="<%=email %>" class="box" size="50" maxlength="255" type="text" /></td>
	        </tr>
		     <tr>
		       <td height="25" align="right" bgcolor="#FFFBF4">送货日期：</td>
		        <td align="left" bgcolor="#FFFFFF" onmousemove="setMourseOut()">　
      <input name="senddate" id="senddate"   class="Wdate" value="<%= SendDate%>"  onclick="WdatePicker()" onchange="setMourseOut()" style="width:100px;"/>
            *此日期为发货日期，不是到货日期   
	           </td>
	        </tr>
               <tr>
		       <td height="25" align="right" bgcolor="#FFFBF4">到货日期：</td>
		        <td align="left" bgcolor="#FFFFFF">　           
      <input name="txtToDate" id="txtToDate"   readonly="readonly"  value="<%= ToDate%>"  onmousemove="setMourseOut()"  style="width:100px; border:0px;"/>
            *此日期为到货日期，但由于快递送达时间不受人为因素所控制，实际到货前后会有一天的误差。不便之处敬请谅解！请确保手机畅通！  

	           </td>
	        </tr>
		     <tr  onmousemove="setMourseOut()" >
		       <td height="25" align="right" bgcolor="#FFFBF4">备 注：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	               如您对发货时间有所疑问,请拨打400-720-5117
               </td>
	        </tr>
	      </table>
		<br />
	      <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CECECE" id="shipid" style="display:none;">
		     <tr>
		       <td height="25" bgcolor="#EEEEEE" class="white_bold">　<strong>收件人信息</strong></td>
		       <td align="left" bgcolor="#EEEEEE" class="white_bold"> <a href="javascript:checkcopy();">[复制下单人信息]</a></td>
	        </tr>
		     <tr>
		       <td width="130" height="25" align="right" bgcolor="#FFFBF4">姓 名：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	           <input name="cname1" id="cname1"  class="box" size="20" maxlength="100" type="text" />*</td>
	        </tr>
		     <tr>
		       <td height="25" align="right" bgcolor="#FFFBF4">联系电话：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	           <input name="tel1" id="tel1" class="box" size="20" maxlength="20" type="text" />
                   电话和手机致少填一项</td>
	        </tr>
		     <tr>
		       <td height="25" align="right" bgcolor="#FFFBF4">手 机：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	           <input name="phone1" id="phone1" class="box" size="20" maxlength="20" type="text" /></td>
	        </tr>
		     <tr style="display:none">
		       <td height="25" align="right" bgcolor="#FFFBF4">邮 编：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	           <input name="post1" id="post1" class="box" size="20" maxlength="20" type="text" />*</td>
	        </tr>
		     <tr>
		       <td height="25" align="right" bgcolor="#FFFBF4">地 址：</td>
		       <td align="left" bgcolor="#FFFFFF">　

	           <input name="address1" id="address1" class="box" size="50" maxlength="255" type="text" />*</td>
	        </tr>
		     <tr  style="display:none">
		       <td height="25" align="right" bgcolor="#FFFBF4">E-MAIL：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	           <input name="email1" id="email1" class="box" size="50" maxlength="255" type="text" /></td>
	        </tr>
            <tr>
		       <td height="25" align="right" bgcolor="#FFFBF4">备 注：</td>
		       <td align="left" bgcolor="#FFFFFF">　
	          
              	             <input id="remark1" name="remark1" class="box" type="text" style="width:560px" maxlength="300"/>
              </td>
	        </tr>
	      </table>
		</div>
		<div>

            <%if (UserCardCodeList == null && UserMemberId == null)
          { %> 
                <table cellpadding="5" cellspacing="0"  width="100%">
		     <tr>
		       <td height="25" align="left" style=" padding-left:5px;"class="white_bold"><strong>选择结算方式(您还需支付<font color="red"> <span id="spanmoney" >￥<%=totalprice %></span></font>元)</strong>
                <input id="cardpaymoney" name="cardpaymoney" value="0" type="hidden" />
               <input id="paymoney" name="paymoney" value="<%=totalprice %>" type="hidden" />
               </td>
	        </tr>
		   </table>
              <table id="payway" cellpadding="5" cellspacing="0"  width="100%">
		     <tr>
		       <td height="25" align="left">
               <input type="hidden" name="pay"  value="pay"/> </td>
	        </tr>
		        
	      </table>
           
          <%} %>
		</div>

        <div style="width:100%; text-align:left; display:none;" >
        订单号：<asp:Label ID="lblordercode"  runat="server" ForeColor="Red"><%=tempOrderCode%></asp:Label>
        <input name="ordercode" type="hidden" value="<%=tempOrderCode%>" /> 
        </div>
         <table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
          
            <td height="30" align="center">
            <input type="hidden" name="TempType" value="<%=TempType%>" />
            <input type="hidden" name="action" value="add" />
            <input type="submit" name="Submit" value="直接提交"  style="width:120px; height:40px;" class="button" onclick="return CheckFrm(0);" />
            <input type="submit" name="Submit" value="注册后提交"  style="width:120px; height:40px;" class="button" onclick="return CheckFrm(1);" />
            </td>
          </tr>
          <tr>
          
            <td height="30" align="left" style="padding-left:150px;">
               <b> <font color='red'>*注册会员好处：</font></b>
               <ul style="padding-left:80px; list-style-type:disc;" >
                 <li> 可在“会员专区”中管理自己的各种订单信息。</li>
                 <li>可以及时获得最新的资讯、促销信息、提醒服务。</li>
                 <li> 后期将会推出更多服务。</li>
                  </ul>
                </td>
          </tr>
        </table>
        <br />

          </form>
	  </div>
     
		
	</div>   
</div>   

  <uc3:bottom ID="bottom_1" runat="server" />
</center>

</body>
</html>
